Release 10.1A: OpenEdge Data Management:
Database Administration


DBTOOL utility

Diagnostic tool that identifies possible record issues and fixes SQL Width violations.

Syntax

dbtool db-name

Parameters

db-name

Name of the database to be scanned.

When you enter the DBTOOL utility, the main menu appears as follows:

                     DATABASE TOOLS MENU - 10.1a 
                     -------------------------- 
                  
                1. SQL Width & Date Scan w/Report Option 
                2. SQL Width Scan w/Fix Option 
                3. Record Validation 
                4. Record Version Validation 
                5. Read database block(s) 
                6. Record fixup 
                9. Enable/Disable File Logging 
                  
                Q. Quit 
                Choice:  

Figure 23–1: DBTOOL main menu

The menu options provide the following functions:

For menu options 1-6, you must know if your database has a server running or not. You will be prompted to connect to the database as follows.

To run options 1-6 of DBTOOL:

  1. Enter your choice at the main menu prompt. The following prompt appears:
  2. <connect>:(0=single-user 1=self-service >1=#threads)? 
    

  3. Enter your connection type (0, 1, or #threads).
  4. If a database broker is not running, you must select 0. If a database broker is running, you can run the report using one or more threads. If you enter a connection type that does not match the state of the database, DBTOOL returns this error:

    dsmUserConnect failed rc = -1

    After you enter a valid connection code, the prompts specific to the functionality of your selection appear.

  5. Continue through the remaining prompts for your option. Common prompts include the following:
    • Table — Enter the table number at the following prompt:
    • <table>: (Table number or all)? 
      

    • Area — Enter the area number at the following prompt:
    • <area>: (Area number or all)? 
      

    • Display — Enter the verbose level. The verbose level defines the amount of output displayed, with zero being the least verbose. The following prompt appears for display:
    • <display>: (verbose level 0-3)? 
      

Notes


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095